(Fmake_terminal_frame): Raise an error when called from
authorJason Rumney <jasonr@gnu.org>
Sat, 20 Dec 2008 15:59:50 +0000 (15:59 +0000)
committerJason Rumney <jasonr@gnu.org>
Sat, 20 Dec 2008 15:59:50 +0000 (15:59 +0000)
a graphical frame on Windows.

src/frame.c

index 8af3e4bf35f203a1ae56708e2a8bd3eeaf192207..db8874f52802209e3e08aef09f6687c96b03c729 100644 (file)
@@ -684,7 +684,7 @@ affects all frames on the same terminal device.  */)
     abort ();
 #else /* not MSDOS */
 
-#if 0                           /* This should work now! */
+#ifdef WINDOWSNT                           /* This should work now! */
   if (sf->output_method != output_termcap)
     error ("Not using an ASCII terminal now; cannot make a new ASCII frame");
 #endif